package com.glsc.ngateway.common.api.oaflow.dto.oaflow;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@NoArgsConstructor
@AllArgsConstructor
@Data
//@Entity
//@Table(name = "t_am_workflow_relation")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class WorkFlowRelation {
//    @Id
//    @GeneratedValue(strategy = GenerationType.IDENTITY)
//    @Column(name = "id", columnDefinition = "INT(11) COMMENT 'ID'")
    private Integer id;

    @ApiModelProperty(value = "产品系统OA流程编码，字典：am_prod_oa_workflow")
//    @Column(name = "prod_workflow_id", columnDefinition = "VARCHAR(50) COMMENT '产品系统OA流程编码，字典：am_prod_oa_workflow'")
    protected String prodWorkflowId;

    @ApiModelProperty(value = "产品系统OA流程名称")
//    @Column(name = "prod_workflow_name", columnDefinition = "VARCHAR(100) COMMENT '产品系统OA流程名称'")
    protected String prodWorkflowName;

    @ApiModelProperty(value = "OA系统流程workflowId列表，多个逗号分割")
//    @Column(name = "workflow_id", columnDefinition = "text COMMENT 'OA系统流程workflowId列表，多个逗号分割'")
    protected String workflowId;

    @ApiModelProperty(value = "formid,对应的oa表名称")
    protected BigDecimal formId;
}
